package HW2_3.pages;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

public class InternalPage extends AnyPage {

    @FindBy (linkText = "Log out")
	public static WebElement menuLogoutLink;
    
    @FindBy (linkText = "My profile")
    public WebElement menuProfileLink;
    
    @FindBy (linkText="User management")
	public WebElement menuUserManagementLink;
    
    @FindBy (id = "results")
	public WebElement resultsForm;
    
    public boolean isLoginOk() {
		return resultsForm.isDisplayed();
	}
    
    
}
